From 3a616fa8f29136802552973d0142b43700a19eca Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Thu, 28 Jan 2016 21:28:48 +0100 Subject: [PATCH] Introjucer needs to be reproducible as well... --- debian/patches/reproducible-date.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/debian/patches/reproducible-date.patch b/debian/patches/reproducible-date.patch index 6d9918ed..175f8576 100644 --- a/debian/patches/reproducible-date.patch +++ b/debian/patches/reproducible-date.patch @@ -22,3 +22,23 @@ This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ dateTokens.removeEmptyStrings (true); return Time (dateTokens[2].getIntValue(), +--- juce.orig/extras/Introjucer/Source/Application/jucer_Application.h ++++ juce/extras/Introjucer/Source/Application/jucer_Application.h +@@ -101,13 +101,16 @@ + return initialiseLogger ("log_"); + } + ++#ifndef BUILD_DATE ++# define BUILD_DATE __DATE__ ++#endif + bool initialiseLogger (const char* filePrefix) + { + if (logger == nullptr) + { + logger = FileLogger::createDateStampedLogger (getLogFolderName(), filePrefix, ".txt", + getApplicationName() + " " + getApplicationVersion() +- + " --- Build date: " __DATE__); ++ + " --- Build date: " BUILD_DATE); + Logger::setCurrentLogger (logger); + } + -- 2.30.2